<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table>
    <thead>
    <th>图片</th>
    <th>商品</th>
    <th>价格</th>
    <th>库存</th>
    </thead>
    <tbody>
    <tr th:each="warehouse:${warehouses}">
        <td ><img style="width:700px;height:500px" th:src="@{'/photo/'+${warehouse.avatar}}"></td>
        <td th:text="${warehouse.goodsName}"></td>
        <td th:text="${warehouse.goodsPrice}"></td>
        <td th:text="${warehouse.sum}"></td>
    </tr>
    </tbody>
</table>

</body>
</html>